﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="report_property_for_rent.aspx.cs"
    Inherits="admin_search_property_torent" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="heb" dir="rtl">
<head id="Head1" runat="server">
    <link rel="shortcut icon" type="image/jpg" href="../images/logo/logo_feas.jpg" />
    <title>Real estate</title>
    <script src="../js/html5.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <link href="js/css/bootstrap/bootstrap-responsive.min.css" rel="stylesheet" type="text/css" />
    <link href="js/css/supr-theme/jquery.ui.supr.css" rel="stylesheet" type="text/css" />
    <link href="js/css/icons.css" rel="stylesheet" type="text/css" />
    <!-- Plugin stylesheets -->
    <link href="plugins/misc/qtip/jquery.qtip.css" rel="stylesheet" type="text/css" />
    <link href="plugins/forms/uniform/uniform.default.css" type="text/css" rel="stylesheet" />
    <link href="plugins/tables/dataTables/jquery.dataTables.css" type="text/css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="../css/tooltip.css" />
    <link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css"
        media="screen" title="no title" charset="utf-8" />
    <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css"
        rel="stylesheet" type="text/css" />
    <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css"
        rel="Stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../css/master.css" />
    <link rel="stylesheet" type="text/css" href="../css/dropBox.css" />
    <link rel="stylesheet" type="text/css" href="../css/menu.css" />
    <link rel="stylesheet" type="text/css" href="../css/buttons.css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
    <script src="js/zebra_datepicker.js" type="text/javascript"></script>
    <link href="CSS/datepicker.css" rel="stylesheet" type="text/css" />
    <link href="js/css/bootstrap/bootstrap.min.css" rel="stylesheet" type="text/css" />
         <script src="../js/jquery.validationEngine-en.js" type="text/javascript"></script>
            <script src="../js/jquery.validationEngine.js" type="text/javascript"></script>
            <script type="text/javascript" src="../js/utility.js"></script>
           
            <script type="text/javascript" src="../js/bootstrap-modal.js"></script>
    <style>
        #content
        {
            min-height: 550px;
            background-color: #FFFFFF;
            background-image: url(../images/bg/contentbg.png);
            min-width: 82%;
            margin-right: 221px;
            height: 100%;
            border-left-width: 1px;
            border-left-style: solid;
            border-left-color: #CCC;
        }
        #leftcolumn
        {
            float: right;
            width: 220px;
            margin-left: -100%;
            min-height: 550px;
            background-color: #FFF;
            background-image: url(../images/bg/sidebarbg.png);
            border-left-width: 1px;
            border-left-style: solid;
            border-left-color: #CCC;
            height: 100%;
        }
        .style1
        {
            width: 10%;
            height: 30px;
        }
        .style2
        {
            height: 30px;
        }
        
        .form_placeholder_std table td
        {
            width: 60px;
        }
        
        
        td
        {
            vertical-align: top;
        }
        
        
        
        @media (min-width: 321px) and (max-width: 1024px)
        {
        
            #leftcolumn
            {
                float: right;
                width: 150px;
                margin-left: -100%;
                min-height: 550px;
                background-color: #FFF;
                background-image: url('../images/bg/sidebarbg.png');
                border-left: 1px solid #CCC;
                height: 100%;
            }
        
            #leftcolumn_top
            {
                float: left;
                width: 150px;
                height: 47px;
                background-image: url('../images/bg/titalbar.png');
                background-repeat: repeat-x;
                border-bottom: 1px solid #CCC;
            }
        
            #nav
            {
                float: left;
                width: 150px;
            }
      
            .form_placeholder_std input[type="text"]
            {
                background-color: rgba(255, 255, 255, 0.6);
                border: 1px solid #B1B1B1;
                width: 70px;
                border-radius: 0.2em;
                padding: 2px;
                height: 15px;
            }
        
            .form_placeholder_std .combobox
            {
                background-color: rgba(255, 255, 255, 0.6);
                border: 1px solid #B1B1B1;
                width: 80px;
                border-radius: 0.2em;
                padding: 2px;
                margin-bottom: 0px;
                height: 25px;
            }
        
        
            select
            {
                width: 80px;
                background-color: #FFF;
                border: 1px solid #CCC;
            }
        
        
            .form_placeholder_std table td
            {
                width: 60px;
            }
        
            .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button
            {
                font-family: Verdana,Arial,sans-serif;
                font-size: 1em;
                width: 100px;
                height: 30px;
            }
            #content
            {
                min-height: 550px;
                background-color: #FFF;
                background-image: url('../images/bg/contentbg.png');
                min-width: 82%;
                margin-right: 15%;
                height: 100%;
                border-left: 1px solid #CCC;
            }
        
        }
        label
        {
            display: inline;
            width:100px;
            float:right;
        }
         select.combobox, select
        {
            float:none;
        }
       .form_placeholder_std
       {
           padding:10px;
       }
       label.secondLabel
       {
           float:none;
       }
    </style>
    <script type="text/javascript">
        $(document).ready(function () {


            $.post("filter-new.aspx",

                 function (data, status) {

                     $('div#div1').html(data);
                 });


        });
       
    </script>
    
    <script runat="server">
        private void OnDSUpdatedHandler(Object source, SqlDataSourceStatusEventArgs e)
        {
            if (e.AffectedRows > 0)
            {
                // Perform any additional processing,
                // such as setting a status label after the operation.
                Label1.Text = Request.LogonUserIdentity.Name +
                    " changed user information successfully!";
            }
            else
            {
                Label1.Text = "No data updated!";
            }
        }

      
    </script>
  
 
   
   
   
</head>
<body>
    <form id="form_std_register" class="form_control" runat="server">
    <div id="wrapper">
        <div class="ui-widget">
            <div id="header">
                <a href="#">
                    <img src="../images/logo/logo_feas.png" alt="Logo" style="margin-top: 7px; margin-left: 7px;
                        float: left;">
                    <img src="../images/logo/logo_feas2.png" alt="Logo" class="logo"></a>
                <div id="metaphors" align="right">
                    <li id="btntheme"><a href="#"><span class="theme_icon"></span>Theme<span class="arrow"></span></a></li>
                    <img src="../images/face1.png" class="user_icon">
                    <li id="btnUser"><a href="#">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="Label2"
                        runat="server"></asp:Label><span class="arrow"></span></a></li>
                    <li><span class="logout_icon"></span>
                        <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">Logout</asp:LinkButton></li>
                    <div id="box3" class="outerbox">
                        <div id="Div2" class="innerbox">
                            <div class="user_option">
                                <img src="../images/icons/user.png" class="opt_icon">email</div>
                            <div class="user_option">
                                <img src="../images/icons/pencil.png" class="opt_icon">email</div>
                        </div>
                    </div>
                    <div id="box2" class="outerbox">
                        <div id="box_inner3" class="innerbox">
                            <div class="user_option">
                                <img src="../images/icons/user.png" class="opt_icon">alert</div>
                            <div class="user_option">
                                <img src="../images/icons/pencil.png" class="opt_icon">alert</div>
                        </div>
                    </div>
                    <div id="box1" class="outerbox">
                        <div id="box_inner1" class="innerbox">
                            <div class="user_option1">
                                <h4 class="opt_heading">
                                    Menu Bar</h4>
                                <span id="show_menu" class="style">on</span><span id="hide_menu" class="style2">off</span></div>
                        </div>
                    </div>
                    <div id="box" class="outerbox">
                        <div id="box_inner" class="innerbox">
                            <div class="user_option">
                                <img src="../images/icons/user.png" class="opt_icon">Edit Profile</div>
                            <div class="user_option">
                                <img src="../images/icons/pencil.png" class="opt_icon">Change Password</div>
                        </div>
                    </div>
                </div>
                <!--End of the metaphor tag-->
            </div>
            <!--End of the Header tag-->
            <div id="contentliquid">
                <div id="content">
                    <div id="titalbar">
                        <div style="float: left; margin-left: 20px; margin-top: 10px;">
                            <input action="action" type="button" value="חזרה" onclick="history.go(-1);" class="btn-success" /></div>
                        <h1>
                            נכסים</h1>
                    </div>
                    <div id="content_placeholder">
                        <div id="student_add" class="form_placeholder_std">
                            <div id="student_title" class="form_title" style="margin-right:-10px;">
                                <img src="../images/icons/user.png">
                                <h2>
                                    חיפוש נכס</h2>
                            </div>
                            <asp:Button ID="Button2" runat="server" Text="הוסף נכס חדש" CssClass="btn-success"
                                OnClick="Button1_Click" PostBackUrl="to_rent.aspx" style="margin: 10px 0;" />
                            <div class="divSearch">
                                <label>
                                    סוג לקוח</label>
                                <asp:DropDownList ID="ddcustomer" CssClass="combobox" runat="server" Width="138px" DataTextField="help_text_he" DataValueField="help_text_he" >
                                    
                                </asp:DropDownList>
                               
                                <label  class="secondLabel">
                                    שם סוכן</label>
                                <asp:DropDownList ID="DropDownList15" runat="server" CssClass="combobox" ClientIDMode="Static"
                                   DataTextField="help_text_he" DataValueField="help_text_he" 
                                     Width="138px">
                                    <asp:ListItem Text="בחר" Value="" />
                                </asp:DropDownList>
                            </div>
                            <div class="divSearch">
                                <label>
                                    מצב נכס</label>
                                <asp:DropDownList ID="ddlprcon" runat="server" CssClass="combobox" DataTextField="help_text_he" DataValueField="help_text_he"
                                    Width="138px">
                               
                                </asp:DropDownList>
                                <label  class="secondLabel">
                                    סוג נכס</label>
                                <asp:DropDownList ID="ddlptype" runat="server" DataTextField="asset_name_text" DataValueField="asser_name_id"
                                    CssClass="combobox" ClientIDMode="Static" Width="138px" />
                            </div>
                             <div  class="divSearch">
                                <label>
                                    היתר בנייה</label>
                                <asp:DropDownList ID="DropDownList13" runat="server" CssClass="combobox " Width="138px">
                                    <asp:ListItem>בחר</asp:ListItem>
                                    <asp:ListItem Value="כן "></asp:ListItem>
                                    <asp:ListItem Value="לא"></asp:ListItem>
                                </asp:DropDownList>
                            </div>
                            <div class="divSearch">
                                <label>
                                    שם מלא</label>
                                <asp:TextBox ID="txtname" runat="server" value=""></asp:TextBox>
                                <label  class="secondLabel">
                                    טלפון</label>
                                <asp:TextBox ID="txtphone" runat="server" Width="138px"></asp:TextBox>
                            </div>
                            <div  class="divSearch">
                                <label>
                                    מעלית</label>
                                <asp:DropDownList runat="server" ID="ddlelv" CssClass="combobox" Width="138px" DataTextField="help_text_he" DataValueField="help_text_he">
                                 
                                </asp:DropDownList>
                                <label  class="secondLabel">
                                    חניה</label>
                                <asp:DropDownList ID="ddlparkin" runat="server" CssClass="combobox" DataTextField="help_text_he" DataValueField="help_text_he"                                    ClientIDMode="Static" Width="138px">
                                    
                                </asp:DropDownList>
                               
                            </div>
                              <div  class="divSearch">
                                <label>
                                    מזגן</label>
                                <asp:DropDownList ID="ddlac" runat="server" CssClass="combobox" ClientIDMode="Static" DataTextField="help_text_he" DataValueField="help_text_he"
                                    Width="138px">
                                
                                </asp:DropDownList>
                               
                               </div>
                               <div  class="divSearch">  <label>
                                    ממס' חדרים</label>
                                  <asp:TextBox ID="TextBox3" runat="server" CssClass="validate[optional,custom[onlyNumber]]"
                                    ClientIDMode="Static" class="validate[optional]" Width="50px"></asp:TextBox>
                                   <label  class="secondLabel">עד מס' חדרים</label>
                               
                                <asp:TextBox ID="TextBox34" runat="server" Width="50px" CssClass="validate[optional,custom[onlyNumber]]"></asp:TextBox>
                            </div>
                          
                         
                            <div  class="divSearch">
                                <label>
                                    מקומה</label>
                                <asp:TextBox ID="TextBox4" runat="server" CssClass="validate[optional,custom[onlyNumber]]"
                                    ClientIDMode="Static" Width="50px"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;עד
                                <label  class="secondLabel">
                                    קומה</label>
                                <asp:TextBox ID="TextBox30" runat="server" CssClass="validate[optional,custom[onlyNumber]]"
                                    ClientIDMode="Static" Width="50px"></asp:TextBox>
                            </div>
                            <div  class="divSearch">
                                <label>
                                    מתקציב</label>
                                <asp:TextBox ID="TextBox8" runat="server" CssClass="validate[optional,custom[onlyNumber]]"
                                    ClientIDMode="Static" Width="50px"></asp:TextBox>
                                <label class="secondLabel">
                                    עד תקציב</label>
                                <asp:TextBox ID="TextBox10" runat="server" CssClass="validate[optional,custom[onlyNumber]]"
                                    ClientIDMode="Static" Width="50px"></asp:TextBox>
                                <asp:DropDownList ID="coins" runat="server" Width="70px" DataTextField="help_text_he" DataValueField="help_text_he">
                              
                                </asp:DropDownList>
                            </div>
                            <div  class="divSearch">
                                <asp:Label ID="Label6" runat="server" Text="תאריך כניסה " Width="100"></asp:Label>
                                <asp:TextBox ID="TextBox12" runat="server" CssClass="validate[optional]" ClientIDMode="Static"
                                    Width="138px"></asp:TextBox>
                                <asp:Button ID="Button1" runat="server" Text="חפש" CssClass="btn-success" OnClick="Button1_Click" />
                            </div>
                        </div>
                        <div id="student_permanent_address2" class="form_placeholder_std" style="margin-top: 0;
                            border-top: none; width: 100%">
                            <div id="student_title3" class="form_title">
                                <img src="../images/icons/email.png">
                                <h2>
                                    תוצאות חיפוש</h2>
                            </div>
                        </div>
                        <asp:Label ID="Label1" runat="server" Text="Label" Visible="false"></asp:Label><asp:Label
                            ID="Label5" runat="server" Text="Label" Visible="false"></asp:Label>
                        <div class="box gradient" style="width: 1600px">
                            &nbsp;<div id="divsearch">
                            </div>
                            <div id="div1">
                            </div>
                        </div>
                        <script type="text/javascript">
                            var data;
                            $('#Button4').click(function () {


                                document.location = 'preview2.aspx';


                            });


  
    

                        </script>
                        <div id="student_submit" class="form_placeholder_std" style="margin-top: 0; border-top: none;
                            border-bottom: none;">
                            <div id="student_title4" class="form_title">
                                <div style="margin-left: 27px; margin-top: 2px;">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
       
            <div id="leftcolumn">
                <div id="leftcolumn_top">
                    <div id="addtask" class="modal hide fade in" style="display: none;">
                        <div class="modal-header">
                            <a class="close" data-dismiss="modal">x</a>
                            <h1 style="font-size: 15px; padding: 7px; font-weight: bold;">
                                Notification's</h1>
                        </div>
                        <div class="modal-body">
                            <table id="tbl_task" class="model_popup_desgin">
                                <tr>
                                    <td>
                                        <p>
                                            You have a recent&nbsp;&nbsp&nbsp;&nbsp;update on date</p>
                                    </td>
                                </tr>
                                <tr>
                                </tr>
                                <tr>
                                </tr>
                                <tr>
                                    <td>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div class="modal-footer">
                            <p>
                                <a data-toggle="modal" href="#addtask1" class="btn btn-success" style="font-weight: bold;">
                                    <img src="../images/icons/task.png" style="margin-right: 7px;" />View</a></p>
                        </div>
                    </div>
                    <div id="addtask1" class="modal hide fade in" style="display: none;">
                        <div class="modal-header">
                            <a class="close" data-dismiss="modal">x</a>
                            <h1 style="font-size: 15px; padding: 7px; font-weight: bold;">
                                Notification's</h1>
                        </div>
                        <div class="modal-body1">
                            <table id="Table1" class="model_popup_desgin">
                                <tr>
                                    <td>
                                        Date of Creation
                                    </td>
                                    <td>
                                        <p>
                                            <asp:Label ID="Label3" runat="server" Text="Label" Visible="False"></asp:Label></p>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        Last Updated Updated
                                    </td>
                                    <td>
                                        <p>
                                            <asp:Label ID="Label4" runat="server" Text="Label"></asp:Label></p>
                                    </td>
                                    <td>
                                        Choose Agent
                                    </td>
                                    <asp:DropDownList ID="DropDownList2" runat="server" CssClass="combobox " Visible="False">
                                    </asp:DropDownList>
                                    <tr>
                                        <td>
                                            Add Another Agente Agent
                                        </td>
                                        <asp:TextBox ID="TextBox1" runat="server" Visible="False"></asp:TextBox>
                                    </tr>
                                    <tr>
                                        <td>
                                        </td>
                                    </tr>
                            </table>
                        </div>
                        <div class="modal-footer">
                            <asp:Button ID="Button3" runat="server" Text="cancel" CssClass="btn btn-success" />
                        </div>
                    </div>
                </div>
                <ul id="nav" style="text-align: right">
                    <li><a href="dashboard.aspx">
                        <img src="../images/icons/home.png" class="menu_icon">לוח בקרה</a> </li>
                    <li><a href="#">
                        <img src="../images/icons/form.png" class="menu_icon">להשכרה</a>
                        <ul>
                            <li><a href="report_property_for_rent.aspx">
                                <img src="../images/icons/tabs.png" class="menu_icon">
                                נכס להשכרה</a></li>
                            <li><a href="search_property_torent.aspx">
                                <img src="../images/icons/tabs.png" class="menu_icon">
                                לקוח רוצה לשכור</a></li>
                        </ul>
                    </li>
                    <li><a href="search_buy_property.aspx">
                        <img src="../images/icons/form.png" class="menu_icon">לקוח רוצה לקנות</a> </li>
                    <li><a href="searh_sell_property.aspx">
                        <img src="../images/icons/form.png" class="menu_icon">נכס למכירה</a>
                        <li><a href="#">
                            <img src="../images/icons/std2.png" class="menu_icon">
                            סוכן</a>
                            <ul>
                                <li><a href="add_agent.aspx">
                                    <img src="../images/icons/plus.png" class="menu_icon">Agent add</a></li>
                                <li><a href="deleteagent.aspx">
                                    <img src="../images/icons/trash.png" class="menu_icon">Delete Agent</a></li>
                                <li><a href="agentreport.aspx">
                                    <img src="../images/icons/pages.png" class="menu_icon">Agent Edit/Reports</a></li>
                            </ul>
                        </li>
                        <li><a href="admin_notes.aspx">משימות</a> </li>
                        <li><a href="#">
                            <img src="../images/icons/id.png" class="menu_icon">פרטי חשבון</a>
                            <ul>
                                <li><a href="admin_account_information.aspx">
                                    <img src="../images/icons/id.png" class="menu_icon">Update Account Details</a></li>
                            </ul>
                        </li>
                        <li><a href="messages1.aspx">
                            <img src="../images/icons/id.png" class="menu_icon">הודעות</a> </li>
            </div>
            <div id="footer">
                <p>
                    Copyright &copy; 2013. II technology</p>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
